package com.atmaowei.service.impl;

import com.atmaowei.entity.TimeSet;
import com.atmaowei.mapper.TimeSetMapper;
import com.atmaowei.service.TimeSetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TimeSetServiceImpl implements TimeSetService {

    @Autowired
    private TimeSetMapper timeSetMapper;

    @Override
    public void insertInfo(TimeSet timeSet) {
        timeSetMapper.insertInfo(timeSet);
    }

    @Override
    public TimeSet getTeacher() {
        return timeSetMapper.getTeacher();
    }

    @Override
    public TimeSet getStudent() {
        return timeSetMapper.getStudent();
    }

    @Override
    public void update(TimeSet timeSet) {
        timeSetMapper.update(timeSet);
    }


}
